package designerMode.adapter.object;

import designerMode.adapter.classMode.WxUser;
import designerMode.adapter.normal.User;
import designerMode.adapter.normal.UserSevice;

public class UserAdapter implements UserSevice {

    private WxUser user;

    @Override
    public User getUser() {
        User user1 = new User();
        user1.setUername(user.getWxName());
        user1.setPassword(user.getWxPassword());
        return user1;
    }
}
